/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pt.mleiria.app.web.bean;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import pt.mleiria.bo.games.TabuadaScoreEJB;
import pt.mleiria.vo.TabuadaScore;

/**
 *
 * @author manuel
 */
@ManagedBean(name = "tabuadaScoreBean")
@SessionScoped
public class TabuadaScoreBean {

    @EJB
    private TabuadaScoreEJB tsEjb;
    /**
     * 
     * @return 
     */
    public TabuadaScoreEJB getTsEjb() {
        return tsEjb;
    }
    /**
     * Creates a new instance of TabuadaScoreBean
     */
    public TabuadaScoreBean() {
    }
    /**
     * 
     * @return 
     */
    public TabuadaScore[] getAllOfFame(){
        return tsEjb.getAllOfFame();
    }
    
}
